<!DOCTYPE html>
<html>
{include file="public/head" /}
<body>
          <div class="nav-tabs-custom" style="box-shadow:0 0 0 0; margin:5px;">
        <form id="myforms" class="myforms form-horizontal"  method="post" action="{:url('down')}">
        <input type="hidden" name="tab" value="{$tab}">

           <div class="tab-content tab-fade fade active in "> 
<div class="col-xs-12">
           

            <div class="box-header with-border">
              <h3 class="box-title">同步范围</h3>
            </div>
            <div class="box-body">
            <span style="float:left; margin-top:6px;">
                <label class="pretty circle primary">
	  <input name="range" type="radio" value="1" checked> 
	  <label><i class="default"></i> 全部</label>
	</label>
    <label class="pretty circle primary">
	  <input name="range" type="radio" value="2"> 
	  <label><i class="default"></i> 日期</label>
	</label></span>
    <input  class="form-control datetimepicker text-center" id="effStartDate" name="starttime" value="{:date('Y-m-d H:i:s', time())}" placeholder="开始时间" id="createtime" data-date-format="YYYY-MM-DD HH:mm:ss"style="float:left; margin-left:20px; width:200px"><span style="width:50px; float:left; margin-top:5px; text-align:center"> - </span>
   <input  class="form-control datetimepicker text-center" name="endtime" value="" placeholder="结束时间" id="createtime" data-date-format="YYYY-MM-DD HH:mm:ss" style="float:left; width:200px"> 
            </div>
 <div class="box-header with-border">
              <h3 class="box-title">同步选项</h3>
            </div>
            <div class="box-body">
            <span style="float:left; padding-top:6px;">
                <label class="pretty circle primary">
	  <input name="opt" type="radio" value="1" checked> 
	  <label><i class="default"></i> 全部</label>
	</label>
    <label class="pretty circle primary">
	  <input name="opt" type="radio" value="2"> 
	  <label><i class="default"></i> 错图</label>
	</label>
    </span>
            </div>            
             <div class="box-header with-border">
              <h3 class="box-title">同步类型</h3>
            </div>
            <div class="box-body">
            <span style="float:left; padding-top:6px;">
         {neq name="tab" value="part"}   
        <label class="pretty circle primary">
	  <input name="col" type="radio" value="1" checked> 
	  <label><i class="default"></i> 主图片</label>
	</label>
    {/neq}
    <label class="pretty circle primary">
	  <input name="col" type="radio" value="2" {eq name="tab" value="part"} checked{/eq}> 
	  <label><i class="default"></i> 内容图片</label>
	</label>
    </span>
    
            </div>
              <div class="box-header with-border">
              <h3 class="box-title">自定义字段-填写自定义字段请选择同步类型</h3>
            </div>
            <div class="box-body">
            <div style="float:left;width:200px">
            <select name="field" class="form-control select2" style="width:100%">
            <option value="">自定义字段</option>
            {volist name="filed_list" id="vo"}
              <option value="{$vo}">{$vo}</option>
            {/volist}
            </select>
            </div>
           <!--<input  class="form-control"  name="fieldttt" type="text" value="" style="float:left;width:150px">--><span class="tips">字段只记录图片地址选择主图片-字段中为文字包括图片选择内容图片</span>
            </div>           
       <div class="box-header with-border">
        <h3 class="box-title" style="float:left">其他参数</h3><span class="tips" style="padding-top:0px; padding-bottom:0px;">当同步出现一直刷新相同数据，请开启跳转。</span> 
        
            </div>
            <div class="box-body">
                           <div class="input-group">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-title">同步数量：</span>
                <span class="form-left-title-hide"></span>
                </div>
            <input  class="form-control text-center" name="limit" type="text" value="{$upload_http_down}" style="width:100px; margin-right:15px;">
                           <div class="input-group">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-title">跳转同步：</span>
                <span class="form-left-title-hide"></span>
                </div>
            <span style="float:left; padding-top:6px; margin-left:25px;">
                <label class="pretty circle primary">
	  <input name="jump" type="radio" value="0" checked> 
	  <label><i class="default"></i> 关闭</label>
	</label>
    <label class="pretty circle primary">
	  <input name="jump" type="radio" value="1"> 
	  <label><i class="default"></i> 开启</label>
	</label>
    </span>
            </div>
      
               </div>
              <!-- /row --> 
            </div>
            <!-- /.tab_1-->
         
        <div class="box-footer {notempty name=":request()->param('dialog')"}hidden{/notempty} layer-footer">
          <div  class="footer-btn">
               <button type="submit" class="btn btn-success btn-embossed">确定</button>
               <button type="reset" class="btn btn-default btn-embossed">重置</button>
               {notempty name=":request()->param('dialog')"}
               <button type="reset" class="btn btn-primary btn-embossed btn-close" onClick="layer.closeAll();"> 关闭</button>
               {/notempty}
            </div>
       </div>
       <!-- /.box-footer -->     
<!-- /.box-body --> 
</form>
</div>
<!-- /.nav-tabs-custom -->    
{include file="public/footer" /}
<script type="text/javascript">
$(document).ready(function(){
	zanpian.cms.all();
	

});	
</script>
</body>
</html>
